from numpy import *
import logRegres

dataMat, labelMat = logRegres.loadDataSet()
# print dataMat

weight = logRegres.gradAscent(dataMat, labelMat)
print weight

weight0 = logRegres.stocGradAscent0(array(dataMat), labelMat)
print weight0

weight1 = logRegres.stocGradAscent1(array(dataMat), labelMat)
print weight1
